option2 = {
  tooltip: {
    show:true
  },
  legend:{
    data:["正常运行","停业整改","资质过期"],
    show:false,
    right:40,
    top:"center",
    orient:"orient",
    itemGap: 20 ,
    icon:'circle',
    textStyle: {
      fontSize:14
    }
  },
  color:["#176BFF","#FF4A4A","#FFB22C"],
  series: [{
    name:"全部办件",
    center:["50%","50%"],
    radius:["50%","75%"],
    type: 'pie',
    label: {
      normal: {
        show: false,
      }
    },
    z:1,
    data: [
      {name:"正常运行",value:"21"},
      {name:"停业整改",value:"34"},
      {name:"资质过期",value:"67"}
    ]
  },
    {
      name:"全部办件",
      center:["50%","50%"],
      radius:["50%","65%"],
      type: 'pie',
      label: {
        normal: {
          show: true,
          position:"center",
          formatter:function(data){
            return "{a|200}\n{b|全部办件}"
          },
          rich:{
            a:{
              fontSize:36,
              fontWeight:"bold",
              color:"#333",
              marginBottom:20
            },
            b:{
              fontSize:14,
              color:"#333"
            }
          }
        }
      },
      z:0,
      data: [0]
    }]
};
var myChart2 = echarts.init(document.getElementById('pie'));
myChart2.setOption(option2);
$(window).resize(function(){
  myChart2.resize();
});
